package com.qf.homework.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.homework.entity.Ticket;
import com.qf.homework.entity.Vote;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TicketMapper extends BaseMapper<Ticket> {

    List<Vote> getVotes();

    Vote getVotesByPhoneNumber(@Param("phone") String phoneNumber);
}